/*  1:   */ package gcs.com.util;
/*  2:   */ 
/*  3:   */ import java.text.SimpleDateFormat;
/*  4:   */ import java.util.Date;
/*  5:   */ 
/*  6:   */ public class DateUtils
/*  7:   */ {
/*  8:   */   public static String dateFormat(Date date, String format)
/*  9:   */   {
/* 10:10 */     String reStr = "";
/* 11:11 */     if (date != null)
/* 12:   */     {
/* 13:12 */       SimpleDateFormat sdf = new SimpleDateFormat(format);
/* 14:13 */       reStr = sdf.format(date);
/* 15:   */     }
/* 16:15 */     return reStr;
/* 17:   */   }
/* 18:   */ }


/* Location:           C:\Users\zhoubo\Desktop\classes\
 * Qualified Name:     gcs.com.util.DateUtils 
 * JD-Core Version:    0.7.0.1
 */